package com.sxjh.entity.result;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class IntruduListResult {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "序号")
    @ExcelProperty(value = "序号")
    @ColumnWidth(10)
    private Integer index;

    @ApiModelProperty(value = "开始时间")
    @ExcelProperty(value = "产生时间")
    @ColumnWidth(30)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private String createdAt;

    @ApiModelProperty(value = "产生地点")
    @ExcelProperty(value = "产生地点")
    @ColumnWidth(30)
    private String addr;

    @ApiModelProperty(value = "图片地址", required = true)
    private String img1;

    @ApiModelProperty(value = "是否已读:1,已读;2未读")
    private Integer readed;

    @ApiModelProperty(value = "是否推送, 1：是, 2：否")
    private Integer isPush;

}
